package com.springboot.demo.entity.vo;

import java.security.Principal;

/**
 * @author wubc683
 * @desc
 * @date 2022-01-21 15:01
 */
public class WebsocketUserVO implements Principal {
    private  String userId;
    public WebsocketUserVO(String userId) {
        this.userId = userId;
    }

    @Override
    public String getName() {
        return userId;
    }
}
